package com.itheima.service.db;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.itheima.domain.db.UserInfo;
import com.itheima.vo.PageBeanVo;

import java.util.List;

public interface UserInfoService {
    void save(UserInfo userInfo);
    void update(UserInfo userInfo);
    UserInfo findByUserId(Long userId);

    //分页查询用户数据
    PageBeanVo findByPage(Integer pageNum,Integer pageSize,String title);

    List<UserInfo> save(QueryWrapper<UserInfo> queryWrapper);
}
